﻿using ComponentSystem;

namespace YooAssetsSystem
{
    /// <summary>
    /// YooAssetsSystem实体
    /// </summary>
    public partial class YooAssetsSystem_Entity : EntityCSharp
    {
        
    }

    public partial class YooAssetsSystem_Entity
    {
        public YooAssetsSystem_Entity() : base()
        {
            
        }
        
        protected override void Awake()
        {
            base.Awake();
            
            Add_Coms();
        }

        /// <summary>
        /// 添加组件
        /// </summary>
        private void Add_Coms()
        {
            this.AddComponent<AssetsHandleCache_Com>();
            this.AddComponent<AssetsLoad_Com>();
        }
    }
}